﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using HNQXYJ.DAL;

namespace HNQXYJ.WJY
{
    public partial class height : System.Web.UI.Page
    {

        //全省统计
        public static int count = TerminalDAL.GetNumberByStatus("在线");
        public static int offLineCount = TerminalDAL.GetNumberByStatus("离线");

        public  static int zhengZhouOnline = TerminalDAL.GetNumberByStatusAndCounty("在线", "zhengzhoushi%","0");
        static int zhengZhouOffline = TerminalDAL.GetNumberByStatusAndCounty("离线", "zhengzhoushi%", "0");

        public string returnValue = "[{name: '终端在线数量',data: ["+count+","+zhengZhouOnline+",0,0,0,0,0,0]}, {name: '终端离线数量',data: ["+offLineCount+","+zhengZhouOffline+",0,0,0,0,0,0]} ]";
        public string xAxisCategories = "['河南省','郑州市','新乡市','开封市','洛阳市','周口市','驻马店','焦作市']";


        
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}